<?php
/**
 * Fake4
 * @copyright   Copyright(c) 2024-2034
 * @author      tianjie <527707665@qq.com>
 * @link        http://www.tinphp.com/
 */

return [
    // 全局应用中间件
    '' => [
        //跨域请求中间件
        app\middleware\AccessControlWare::class,
        //权限认证中间件
        //app\middleware\AuthMiddleware::class,
        //日志记录中间件
        //app\middleware\LogMiddleware::class,
    ],
    //应用中间件
    'index' => [
        //登录状态检测
        //app\middleware\IndexMiddleware::class,
    ],
];